# !/usr/bin/env python
# -*-coding:utf-8 -*-
"""
# File       : __init__.py.py
# Time       ：2023/7/8 15:38
# Author     ：Y-aong
# version    ：python 3.7
# Description：
"""
from apis.system_oauth.views import system_oauth_ns
from apis.system_oauth.views.department_view import DepartmentView, DepartmentDetailView
from apis.system_oauth.views.group_view import GroupView, GroupDetailView

from apis.system_oauth.views.permission_view import PermissionView, PermissionDetailView
from apis.system_oauth.views.role_view import RoleView, RoleDetailView
from apis.system_oauth.views.user_view import UserView, UserDetailView

system_oauth_ns.add_resource(DepartmentView, DepartmentView.url)
system_oauth_ns.add_resource(GroupView, GroupView.url)

system_oauth_ns.add_resource(PermissionView, PermissionView.url)
system_oauth_ns.add_resource(RoleView, RoleView.url)
system_oauth_ns.add_resource(UserView, UserView.url)
system_oauth_ns.add_resource(DepartmentDetailView, DepartmentDetailView.url)
system_oauth_ns.add_resource(GroupDetailView, GroupDetailView.url)
system_oauth_ns.add_resource(PermissionDetailView, PermissionDetailView.url)
system_oauth_ns.add_resource(RoleDetailView, RoleDetailView.url)
system_oauth_ns.add_resource(UserDetailView, UserDetailView.url)
